var fs=require('fs');
var config = JSON.parse(fs.readFileSync('./settings.json', 'utf-8'));

module.exports = function () {
    var self = this;
    this.Settings = config[config.default];
    this.KAFKA_URL = null;
    this.T_DEPLOY = null;
    this.T_DEPLOY_RESULT = null;


    //console.log(config);
    self.KAFKA_URL = self.Settings.ip + ":" + self.Settings.port;
    self.T_DEPLOY = self.Settings.t_deploy;
    self.T_DEPLOY_RESULT = self.Settings.t_deploy_result;
};